package com.example.ssm.service;

import com.example.ssm.entity.Bill;
import com.example.ssm.entity.Merchant;
import com.example.ssm.entity.User;


import java.io.IOException;
import java.util.List;

public interface BillService {
//
    boolean insertBill(Bill bill) throws IOException;


    List<Bill> selectNoPayByUserName(User user) throws IOException;
    List<Bill> selectPayByUserName(User user) throws IOException;
    boolean delNoPayById(Bill bill) throws IOException;
    boolean updateBill(User user) throws IOException;
    List<Bill> selectNoPayByshop_name(Merchant merchant)throws IOException;

    List<Bill> selectPayByshop_name(Merchant merchant) throws IOException;



}
